[#import "/framework/JGP.htm"  as JGP]
<!--
项目   jgp-cloud-parent
作者   LOUFEI [Gavin]
时间   2019/1/2
-->
[@JGP.head "Title"/]
[@JGP.body]
    <jgp-tab-panel _id="mainTabPanel">
        <jgp-tab :_title="data.busiFormTitle || '业务表单'" _url="${busiForm!''}"
                 _onload="busiFormLoadedCallback"></jgp-tab>
        <jgp-tab _title="执行列表" _url="/workflow/processController/listTaskFlowed?procId=${procId!''}"></jgp-tab>
        <jgp-tab _title="流程图" _url="/workflow/processController/showProcessPic/${procId!''}"></jgp-tab>
    </jgp-tab-panel>
[/@JGP.body]

[@JGP.foot]
    <script>
        function busiFormLoadedCallback(result){
            var iframe = result.back.el;
            var busiFormTitle = iframe.contentWindow.document.title;
            JGP.$putData("busiFormTitle",busiFormTitle);
        }
    </script>
[/@JGP.foot]